<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>小米商城</title>
    <!--外部样式引入-->
<!--    <link rel="stylesheet" href="css/index.css">-->
    <style>
        a {
            text-decoration: none;
        }
        .top_bar {
            width: 100%;
            height: 40px;
            background-color: #333;
        }
        .top_bar a {
            color: #b0b0b0;
            line-height: 40px;
            /*background-color: green;*/
            display: inline-block;
        }
        .top_bar a:hover {
            color: #fff;
        }
        .top_bar span {
            color: #424242;
        }
    </style>
</head>
<body>
<div class="top_bar">
    <a href="#">小米商城</a>
    <span>|</span>
    <a href="#">MIUI</a>
    <span>|</span>
    <a href="#">IOT</a>
    <span>|</span>
    <a href="#">云服务</a>
</div>

</body>
</html>
